/*
 * @Description: 
 * @Author: HM
 * @Email: ming@cpglobalinnovation.com
 * @Date: 2025-02-08 12:04:52
 * @LastEditTime: 2025-02-10 16:18:22
 */
/*
 * Copyright (c) 2024 YuJie Ge(Smile)
 * Licensed under the MIT License.
 */
import i18n from "i18next"
import { initReactI18next } from "react-i18next"
import en from "./locales/en";
import zh from "./locales/zh";
i18n
  .use(initReactI18next)
  .init({
    resources: {
      en: {
        translation: en
      },
      zh: {
        translation: zh
      }
    },
    lng: "zh", 
    fallbackLng: "en",
    interpolation: {
      escapeValue: false 
    }
  })

export default i18n
